//
//  HomeViewController.h
//  BaoVn
//
//  Created by Le Anh Tai on 11/6/14.
//  Copyright (c) 2014 Le Anh Tai. All rights reserved.
//

#import "BaseChildViewController.h"
#import "BaseFlipView.h"
#import "WebsiteCollectionViewDelegate.h"

@class WebsiteCollectionView, HomeFlipView, RssFeedThread, SyncMutableArray;

@interface HomeViewController : BaseChildViewController<UICollectionViewDataSource, UICollectionViewDelegateFlowLayout>//<WebsiteCollectionViewDelegate, FlipViewDelegate>
{
    SyncMutableArray *_websites;

//    HomeFlipView *_flipView;
    UICollectionView *_collectionView;
    UICollectionViewFlowLayout *_layout;//Use flow layout
    NSInteger _padding;//padding of each item
    NSInteger _size;//item size
    NSInteger _collumns;//number of columns, Automatically calculate base on _size
    NSInteger _rows;
    NSMutableArray *_data;

    RssFeedThread *_rssFeedThread;
}

@end
